Fix tic, dbase and rms calculation issue that find right value when
start spectrum data at middle of peak
MassSpectrometer class is now not singleton in order to support data
file dependent ScanLaw and calibration