Playing around with the code

Parallel Computing
Knn search for optimal K