Start of cuda conversion
Start of kernel function
Converted lots of code to CUDA

Still linker errors =(.