Fix if statement in Charge::update(double) 

if statement clarified to ```if(this -> getMode() == 0)``` for clarity of expression