Added requested .so files and broke write loop to spec'd chunk size for arbitrary sample writes.

I added a loop that will handle large arrays appropriately (5MB ones?).  Also, someone was askign for the .so files to be added so that they could avoid using the NDK.