Added option to combine spectra before fitting