cleaning up transpose, further work on gemm
further work on transpose and gemm