add AverageSilhouette function