Electrical and Optical Modelling of Thin-Film Silicon Solar Cells