fix bug. Needed to deepcopy ElecMeter objects because YAML loads YAML
references as references to single object.