histogram correctness tests

1) verify bin count is <= maxBins not ==
2) ensure that the number of points in all bins is the number of points recorded (currently failing for large n)