Characterization of Electronic and Photonic Nanomaterials