Single and three phase motors