FITS image calculator using reverse polish notation - python implementation of Nick Kaiser's ic programme