Simulation and Analysis of 3-D Magnetic Flux Leakage