Static inductance of electrical coils with rod cores