Electric vehicles driving cycle optimization