updated circleIntersectsPolygon