Added java docs, added full condition to algorithms, fixed minor issue with up/down in call boxes