RI-Tree Cleanup, Fixes and UseRiTreeQuery Setting
Merge pull request #173 from javierluraschi/RiTreeFixes

RI-Tree Cleanup, Fixes and UseRiTreeQuery Setting