A Software for the Evaluation of Winding Factor Harmonic Distribution in High Efficiency Electrical Motors and Generators.