Added histogram functions for daqTest.