SMS dit: Design of rotating electrical machines