Calculate 3D contour meshes using the marching cubes algorithm
