updated petsc examples and tests
Merge pull request #41 from hashdist/fix_petsc_test_and_doc

updated petsc examples and tests