Refactored the BIP32 child derivation code.

Code can now take a vector full of multipliers (public key) or addends
(private key) and derive a child key from a parent key using the vector.