getMatrix = elem => {
  const tlist = getTransformList(elem)
  return transformListToTransform(tlist).matrix
}
Gets the matrix of a given element's transform list.
@function getMatrix
@param {Element} elem - The element to check
@returns {SVGMatrix} The transformation matrix