Fix of the containsPolygon function

fix in isInsidePolygon, isOutsidePolygon and ContaisPolygon function