Added rmp's for knn and xmeansknn