Revert "Switch to PETSc linear solver library. This offers more flexibility in the solution method, i.e., users can now select between direct and iterative solvers, and also accommodates MPI for parallel computing."

This reverts commit b8c8786435ed2a263cf60fe39a2ba8dc20258e76.