Using kd_tree functions for speedup'
We can give RMSE or not
New ideias