Change ConvexHull and add Turn (ccw) auxiliar algorithm