Implemented the estimation with kNN
Forgot to add every changed file to the commit