Add segment finder as module helper function.
Merge branch 'spline' of https://github.com/jmstephensjr/modeling into spline