Fixed error when calories out was missing a value

The code assumed that any date with a calories-in value also had a
calories out one; this was occasionaly not the case just after midnight
if the calories-in had been updated from fitbit but the calories-out
hadn't. Fix is to assume 0 for calories-out if no value is found.