Updates to the polygon/vertex code.
Further updates to polygon/vertex code for homogeneous coordinates.