Rewrote the program loop to remove all of the useless code relating to the unused DELTA variable.