Changed MeterGroup.energy_per_meter_with_remainder to
energy_per_meter(mains=not None).  And updated notebook.