Intelligent Computing in Smart Grid and Electrical Vehicles