updated histogram to use correct values of array, added meanValue and medianValue methods to PGM
Merge branch 'master' of https://github.com/zogwarg/PGM