Theoretical Modeling of Organohalide Perovskites for Photovoltaic Applications