added tests
Added docs for translate and rotate