Altered the algorithm that calculates the delta value such that it works
closer to what's described in my report.