Added a timer that counts the time needed to execute "calculateEveryDistance()".