Some minor polishing.
Implemented the transpose sequential algorithm.
Updated the test.