fixed mpi rows vs cols confusion