Added code for solving linear systems via iterative methods.