added centerOn, changed maxZoom method

Added a centerOn method, to programmatically center on a point in the image.

Changed the maxZoom method to better support rectangular images