Invert a matrix via Gauss-Jordan elimination
Multiplying A by its inverse returns the identity matrix, which confirms the result.