Added KDStatistics class