Added segment intersection.
Added segment intersection.
Fixed documentation and changed to helper function
Fixed up the documentation properly. Converted to static method.
Merge pull request #1551 from dami0/segment_intersect

Segment intersect