Nano quantized thin film solar cells