An simple implementation of Marching cubes