kd-trees in Clojure