QuickHull algorithm