Cleaned up a little, but this is bad for cuda
Changed blockSize