Added function to calculate local clust. coeff.