changed geometry_new to polygon

Rewriting polygon is finished except for is_simple which relies on other
classes.