Density Functional Theory Calculations Of Photovoltaic Materials