Refactor find_loops to return points instead
Add inflection points and wipe out Segment class
Add point deduplication code
Add endpoints to list of points
Move distinct function into Point
Add straight-line feature points