#7 LineSegment intersection fix, added unit tests