add fromPubKey to SIN
support uncompressed pub keys also
update tests