Adding matrix inverse factor command line tool.
Cleaning up matrix inverse factorization.