Matlab-FEMM script for inductance calculation of a single winding slot