Updates with plottool. normalized nn distances. Fixed many doctests. Removed injects when qt is involved as well as print statements. updated to more verbose function names