Big cleanup

Found bugs in the JNI implementation when multi-threaded. In the
process of re-coding BIOHMM.java in C++, will remove in future.