add fromPubKey to SIN
support uncompressed pub keys also
update tests
fix tests
fix tests
Merge pull request #448 from matiu/feature/sin02

Feature/sin02