Use row operations to determine the inverse of the matrix