Modeling of Current-voltage Characteristics of thin film Solar cells