Add matrix::rotate method
Add a test for matrix::rotate