Assisted software design of a wide variety of windings in rotating electrical machinery