Parallelized transpose() (should be tested)