Add methods to aggregate to daily and period totals.  Fixed issue in determining day-of-week.