Fix the bug on kernels to calculate spike matrices.

Rewrite those kernels so that on CUDA 6.0 the benchmarks run. Get
confused why on CUDA 5.5 the problematic kernels seem to run pretty
well.