Convexity check

Polygon mutations and new random polygons are now checked for convexity.
You mean num_vertices to numVertices?