Fix of the convexHull function

Changed a line of convexHull in polygon.c