Added ray-sphere intersection CUDA function