Graham convex hull method