Numerical Approaches To 3D Magnetic Mems