Added hierarchical clustering to QA