Created a go inplementation of affine.
Imported and then moved affine.go