CUDA Marching cubes using managed CUDA