More docs for stepfunction
Bug fix: return value of Geometry.projectCoordsToSegment()