Implementation of a number of solvers for linear systems: