Improve Polygon's documentation

I am using a game that uses Polygon and wanted to make some improvements. I thought a good start would be adding more documentation.