petsc_laplace.cxx optimization: Added per-row pre-allocation of MatA.