marching-cubes implementation now working