Raytracer in CUDA C++