Added calculation for the in-degree distribution
Mistyping fixed