fixed some bugs with coadding spectra.  erroneous features still remain