Optimized Designs And Materials For Nanostructure Based Solar Cells