Implemented and tested HistCPU project.
Implemented HistGPU, but does not work because of GPU error.