Adding distanceCalc to KinSelect