Modifying for new MPI and now PETSc matrix