Engineered Transition Metal Chalcogenides for Photovoltaic, Thermoelectric, and Magnetic Applications