Direct Measurement of Impurity Distribution in Semiconducting Materials