(ClassGenerator.CalculateQuantiles): Clean up debugging statement, add comments, fix a small bug in the returned adjusted percentiles.