Added conditions for different types of convexity
Added convex hull definition