Altered SSphere and SVector3 to use __device__; also, added more code to cudaFunctions.cu