Determination of winding inductances in ferrite type permanent magnet electric machinery by finite elements