fix improper use of abs() to avoid compiler warnings;
more complete interface to PETSc direct solvers; 
add a matrix inversion test program
fix improper use of abs() to avoid compiler warnings;
more complete interface to PETSc direct solvers;
add a matrix inversion test program