Added functionality to PolygonGroup class