Updated the OpenCL code to use the precomputed samples per bin.
Using a std::vector instead of an old school array.
Using a std::vector.
The test has been updated to use the new samples per bin scheme.