removing unnecessary prints
changing interpolation for background subtraction to linear, cubic seems to be to slow for complex shaped spectra