working kNN learner

tested 10,000 times with 2,000 input points.

12 milliseconds or 24 million CPU cycles per query.