Use vector shuffle to transpose matrix