Theoretical Modeling Of Polycrystalline Thin-Film Photovoltaics