Figure 1: General flow of the NR algorithm.