update makefile
fix bugs in function local_oct_tree_nn_query
update utils.h
add docs