Got a simple version of the histogram generator kernel working.