Added average calc for all times in main