Fixed bug in integrator, made vertices of Polygon mutable