fix scale and rotate
Merge pull request #7 from ottomao/master

Auto merge by kpm server