Added CUDA memory management stuff for camera classes