AverageFunction
the results of the meeting on novermber 9th.
Fixed problems with average function that didnt exist