added mtree knn algo, added score calculation