Study of Static and Dynamic Eccentricities of a Synchronous Generator Using 3-D FEM