Added code to save FITS image of the model.
Switched all values to doubles.
Switched all values to doubles.
Added FITS reading routine. It is not a good solution though.