Added functions to calculate the mean and variance for each hour in a week, and plot this with error calculations.