Updated makefile system. Also now compatible with PETSc versions up through 3.5.