Effect of Magnets Segmentation on the Cogging Torque in Surface Mounted PM Motors