NS added more functions to compute dataset metafeatures