Convex Hull v4 (Matlab solution: work!)