The Canonical Distortion Measure in Feature Space and 1-NN Classification