Replaced avg method with avgByTen method

Replacing with old cold until LCD screen problem can be isolated.