cant figure out how to calculate averages - C#