This code gets the job done but takes along time to run. its running through around 500,000 rows and finding the difference between the current value and the previous and the sa