Measuring script for AverageConsensus problem.