mpi matrix