function toString(mat) {
  const transformString = 'matrix(' + mat.join(', ') + ')';
  return transformString;
}
A matrix string version of the transform.  This can be used
for CSS transforms.
@param {!Transform} mat Matrix.
@return {string} The transform as a string.