Added in a loop that will run the function and then average the times
Fixed a HUGE problem that made the Dynamic approach not actually work. Shoutouts to Cazadorro for helping me fix it