Direct torque control using second order sliding mode of a double star permanent magnet synchronous machine