I am trying to create a kd-tree through scipy\'s KD_tree class built by objects rather than pure coordinates. The objects has a (x,y) tuple, and the tree is based upon this, but