Knn bug fixed; it was due to the MaybeLabeled Eq/Ord instances not respecting the MetricSpace structure.  The code could be refactored a little bit better probably.