Fix Segment.points_in_between
Finish viewer and add some tests.