Added a histogram raw data generator. Not yet complete though. Also
patched gtest to get rid of the threads warning for death tests.