How to check if points are in a convex hull