Fixes in native library handling. Added sleep to Arithmometer for performance testing