Made the CPU histogram generator function a static member function instead of non-static. This means we don't have to create a generator object each time we want a different histogram.