Online State of Health Diagnostic Method of Battery cells in a Reconfigurable Battery System or Multilevel Inverter