Total average using Average Function is incorrect