Control of the doubly-fed induction machine for wind turbine applications