Created spectrumFitterClass for organisational purposes