Add convex hull algorithm