matrix inversion commit