Analytical Computation for AC Resistance and Reactance of Electric Machine Windings in Ferromagnetic Slots