Added function which calculates multicast group aggregations from clustering linkage array.