In situ Characterization of Nanoparticles Using Rayleigh Scattering