Inverse_Matrix OOP

Separated more into an OOP style