Added calculate spectra, no mrg formatting