Automotive NiMH Battery SOC Estimation Via An Extended Kalman Filter