Added Functions for clustering and Decision Trees