A quantitative method for analyzing the dispersion and agglomeration of nano-particles in composite materials