Revert "inverseMAtrix"

This reverts commit c6e53bda6d060c88155333932ebb019345a0e814.
Revert "Revert "inverseMAtrix""

This reverts commit b2f1255a25bd6a34fa714cfd98cc3f42b218c24e.