Three dimensional Finite Element Modeling of a Brushless Doubly-fed Induction Machine