A Survey on Electric and Hybrid Electric Vehicle Technology