Figure 1:
Pseudocode that shows the simplified algorithm of the model.