Reconfigurable Battery Pack for a Lithium Based Battery Charger for BMS Applications