k-dist fixed

Altered k-dist to match Ran, et al. Introduction to Data Mining 2006