Study of MHD Stability in LHD