Practical Methods for the Solution of Linear Equations and the Inversion of Matrices