Updated version of ckdtree
Now cellinkedlist should handle each kind of input