Metrics calculations in 20 minute segments

Calculates and and prints the metrics for the entire path, as well as
every twenty minutes. Updated metricsTest