Completed Fig2-AverageActivity