Transform zoom to affine 4*4 matrix.
zoom factor for x, y, z dimension (the same zoom is applied to every dimension is the input is a scalar).
affine transformation matrix
zoom2aff()