Error Analysis for Iterative Methods