A study of CZTS thin films for solar cell applications