changed spectrum background subtraction mechanism:

before it was just subtracting y from background spectrum, which would cause an error if original spectrum and background spectrum do not have the same dimensions

now it is using interpolation of the background by a cubic spline to make it possible to subtract any background...