Updated the fingerprintinNN to use KNN