Added mesh generation into JNI... One more step!