Fixed Mean and Median histogram and added PeakValue attribute.  I was apparently sleeping while coding the original implementation.