Figure 5: Slope calculation model.