Marching Cubes Algorithm Python