check for scenario where LU decomposition works but subsequent backsubstitution does not
when computing the inverse