Changed up the methods and my code actually gets the average now.