calculate average mood