Temporary internal code for debugging

Now to make it so that the rotation point of any polygon is
automatically fixed