Weighted Spectral Distribution: A Metric for Structural Analysis of Networks