Translate support and scaling X and Y axis separately

I added support for translate and scaling the X and Y axis separately.