Static and dynamic sliding mode control schemes for a permanent magnet stepper motor