fix binning for count hist/ reorganize histogram initialization
Merge branch 'master' of https://github.com/liis/tth_tests
sfdas