Updated kdist calcs