Fixed distributed charging, added voltage unbalance measurement and logging, added documentation