Seol mar théacs é seo: The unified theory of electrical machines