Feature ks

Done. I'm not sure if my special cases makes sense. Matlab and Scipy seem to only implement the test, and not the distance itself. Maybe it should just return NaN if the lengths are 0?