Added ability to save spectra with spectra as columns instead of rows.