A hybrid method for the calculation of the inductances of coils with and without deformed turns