u_extract_summary function

Calculates cluster summaries