Calculation of average degree from exp data and actual value in model.