Evaluation of the Effects of the Voltage Harmonics on the Extra Iron Losses in the Inverter fed Electromagnetic Devices