SMS dit: Elements of electrical machine design