fix row/col-major issues with transpose before and after tsne