Fixed a bug with eval_qs and added a test for it
Improved the docstring for get_all_leaf_nodes
Added the documentation for eval_qs and get_all_leaf_nodes, and also made some other improvements to the docs.