Change of image_center from pixel to data coordinates.

Hopefully this will (at least partially) fix issue #1062. If nothing
else, it will allow the centre of rotation to be specified as outside
the image.
Partial working rotate fixes.