Included average calculation for speed for comparison