added transitivity and avg clustering