Bugfix in ImageRotationTransformation

Fixed wrong dimension in calculating center of rotation in transform()
and getHomography() functions. Thanks to @toebsen.