Cleans up jmedualmarchingcubes, minor refactors