adding sumVector jni wrapper