Designing Quantum Dot Solids For Optoelectronic Devices Through Matrix Engineering