fix cuda
Merge pull request #659 from Nerei:master
	Added Affine3<T> class