First-principles study of strained 2D MoS2