fixed error with voltage to % nominal that returned a negative value