Add avg time calcs to algos