Device optimization of CSVT deposited cadmium selenide based solar cells