fixed elim( ), Inv( ), Solve( ) routines

Edited elim( ) routine and tried to fix PrintMat() routine