Matrix Inversion using Gauss-Jordan