[GeoLib] Corrected implementation of check if Polyline is in Polygon.

The check if a polyline is in a polygon is needed within the SimplePolygonTree.
At the start of this for loop (line 174) the vector ```s``` can not be empty, since this is checked already above. Furthermore there have to be at least two intersection points in ```s``` in order to start a loop iteration.