remove useless template param in AffineTransform2 and AffineTransform3