Density functional theory prediction on magnetism in Gd-doped monolayer MoS2