SMS dit: Design of electrical machines