Not really a KNN Classifier, as much as a mass, N-dimension euclidean distance calculator.
Input is a Matrix MAT of all the points to test against (row-based), and a Vector X the point to test against. Output is a Nx1 matrix V of all the distances between X and each row of the Matrix (in order).
To test it out, run KNN. Enter:
This tests points (1,1) and (1,2) against the point (1,1). You should get [] as a result.