Iterative solutions to system of linear equations