A new testing procedure added: multiply the matrix by its inverse to see whether the result equals to the identity matrix