improved matrix transpose parallelization