changes to run.py and model.fits

run.py now is bug free and generates a model.fits file that also
includes a table extension with the filters to use. Starting to modify
the cpp code to accept the new filter format…..