Functions to create an N3AffineTransform from an OpenGL matrix