Added Averaging to Output