much faster kernels working, histogram is having trouble with stdev