def METHOD_NAME(params):
    loc, scale, rot, angle, rotA = params
    max_l = max(len(loc), len(scale), len(rot), len(angle), len(rotA))
    orig = []
    for l in range(max_l):
        M = mathutils.Matrix()
        orig.append(M)
    matrixes = matrixdef(orig, [loc], [scale], [rot], [angle], [rotA])
    return matrixes