If you need higher precision, it is generally better to use Numpy.Linalg.Solve() instead of Numpy.Linalg.Inv(). This is because Numpy.Linalg.Solve() uses an algorithm that is more accurate than Numpy.Linalg.Inv().