A Digital Method for the Determination of the Magnetic Characteristics of Variable Reluctance Motors