commented a lot of stuff in mag_spectrum_fitting.py for zach