Flux-linkage calculation added with sector calculation.