Application of 3D MHD equilibrium calculation to RMP experiments in the J-TEXT tokamak