Got rid of the terrible splitEdges function, using iterators instead. Rewrote some of the EdgeMatcher to fit with other code changes.