function getMatrixData(a, b) {
    return b.name == 'matrix' ? a.concat(b.data.slice(0, 4)) : a;
}
Gathers four first matrix parameters.

@param {Array} a array of data
@param {Object} transform
@return {Array} output array