Some problems in the design & operation of electrical machinery & their solution