Preprocessing of Vector Magnetograph Data for a Nonlinear Force-Free Magnetic Field Reconstruction