Fixed spectrum_fitter.py stand-alone script

Minor cosmetics to peak_fitter, added t12() function to pydamm