Robust control of a variable reluctance motor