Updates and bugfixes to petsc_laplace.