ComputeAverageTime: Computes the average of a vector of performance trial times
Description
ComputeAverageTime computes the average of a vector of performance
trial times. The average is computed only over the first
numberOfSuccessfulTrials elements of the times vector.