introduced SegmentUtils, trapezoidation.
Merge branch 'master' of https://github.com/happah-graphics/happah