Toward a geometric theory of magnetization dynamics : electronic contribution in the semiclassical approach