An improved estimation of iron losses in rotating electrical machines