Fixed function `gxcd` returning an Array when math.js was configured as `{matrix: 'matrix'}`.