Fixed transposition of width and height.
Merge pull request #3 from jim-v/master

Fixed transposition of width and height.