Added a lot of functions for manual and automatic calibration of the spectrum
added functionality for manual calibration of spectrum