Potential fixes to the convex hull
Further work on fixing convex hull - fails at end