added support for getting public key from a private key.
Merge pull request #1 from mogorman/master

added support for getting public key from a private key.