Merge pull request #1 from benalexau/master

Initial commit of golang port.
Merge pull request #2 from benalexau/master

Rename variables and change data type to more closely match satin.c.
Update satin.go