Figure 14:
Flowchart of optimization routine.