Engineering Nanoscale Materials for Solar Cells