Calculate The Magnetic Flux