Made a start on refactoring `ElecMeter` stats functions. Reducing
redundancy. Paving the way to refactor the code for using cached
stats. #216