moved getSpectrum from folder styrprogram to mätprogram