Updated DMImplicits with type values to make reference in kNN code easier. Modified kNNTest to use this