General design algorithm for a hybrid hysteresis motor based on mathematical modeling