Add viewportToImageRectangle method and add support to pass a point to viewportToImageCoordinates and imageToViewportCoordinates
Add comments and fix indentation
Merge pull request #212 from avandecreme/master

Add viewportToImageRectangle method