iterative linear equation solver