- cleaned up duplicate wnselect and cnt_reject variables
- fixed type =1,2,3 for different plotting options
- made colors of chi2 values match colors of rejected spectra
- made spectra plot after every iteration to see template change
implemented While loop to stop looping when chi2 has stopped changing in all three bands
/ps now has chi2 plots