Updated class to correctly deal with cases where CorrectChiSq is 999 since this currently set the ChiSquared value to 0. Also forced ChiSquared values larger than 50 (current max) to be within the histogram in the last bin!