Some totals in daily_totals had been incorrect; modified with another script to base daily_totals on sum of food_entries for the day