added 3D convex hull