Calculating the average from every example.