added correction to correct count in last bin
added correction factor for last bin
Merge branch 'master' of https://github.com/ewhanley/practice