Added comments to program finding max light spectra