Updated geometry_new

Most of polygon class rewritten, more comments.  Need to implement
testing after polygon is complete.