MarchingCubes implementation nearly finished.