Improved formatting of JavaDoc
Use Historgram class instead of FloatStatistics to calculate histogram
Fixed typo