Developing an Inference Engine for Estimating State of Charge of the Lead Acid Battery