fixed type typo in operator= of Key and PubKey.
fixed casts in alternate functions.
added sodium_init()
added sodium_init()