Ab-Initio Study of Optical and Magnetic Properties of Tungsten Disulfide