Inteface modification to execute Java algorithms

BeanShellInterface was modified to allow execution of algorithms written in Java to make the execution faster.