In-place transpose.
Updating the test for in-place transpose.