ENH: Simplify `marching_cubes` for maintainability.

This does not change execution time, but the entire algorithm is now much simpler to understand and read without the branching Cython code paths for anisotropic inputs. Memory usage decreases a minor amount.