First-Principles Calculations Of Optoelectronic And Transport Properties Of Materials For Energy Applications.