Flux-linkage calculation added.