Numerical Investigation of the Effects of Loading and Slot Harmonics on the Core Losses of Induction Machines