Modified mspec to allow for more spectra in matom case