fix where various components of dy were not computed correctly for the second stage of interpolation:
added the carbon states file
added functionality for getting fit boundaries and peaks position guesses
massive update, fitting of peaks in calibration spectra now possible via the fit dialog, a dialog for assigning states to fits is now started, and some changes in main window and basic cs dialog from code cleanup