A Factor-Analyzer-ish method for stacking spectra