fix Master key generation based on https://en.bitcoin.it/wiki/BIP_0032
"Use IL as master secret key, and IR as master chain code."

IL was being used for chain code and IR was being used from master secret