Added malloc call through JNI.
Merge pull request #1 from bwross/master

Added malloc call through JNI.