Data summarization and sketching