A General Mathematical Formulation for the Determination of Differential Leakage Factors in Electrical Machines with Symmetrical and Asymmetrical Full or Dead-Coil Multiphase Windings