removed depth argument of kdtree
split splitBuckets from kdtree
added Key to KDCompare
introduced key in Leaf + singleton function
changed from Int to real datatype as key for V3
specialized calls -> decent performance
changed order of linsearch arguments