Made all NavMesh polygons use the Poly struct.
Removed a bug that returned the wrong number of polygon vertices.