add more kdtree functions
fits: allow overriding the class constructed
minor doc fixes about index scale ranges and index files that will solve some demos