renamed Key to Dim to avoid confusion
"fixed" parameter order of dimDistance and dimCompare
added partition, select and delete
added tests and benchmarks for partition, select and delete
fixed several ordering problems

* trees are now created correctly (added test)
* nearest neighbors performance improved
* partition performance improved