- Added algorithms from C++ to jni