Use method distSq and MM:: definitions for vertex selection.
Renamed _active_vertex to _activeVertex.