Fixed bug in drawing the convex hulls