Fixed issue with calculating darkProb

Changed darkProb from int to float, fixed casting issues
Successfully plotting spectrum!
Clean up of code

Deleted Console.WriteLine commands used in debugging
Changed public methods to analyse data in spectrum

Now only one public method - mySpectrum.analyse. This checks to see if initial data analysis has been carried out, and calls private methods analyseInit or analyseUpdate accordingly.