Added bug into GetAverage as per tut description