def METHOD_NAME(self, params):
    '''apply matrices to vertices'''
    vert_all, vert_true, vert_false = [[], [], []]
    for ma, v, mt, mf in zip(*params):
        if ma == 1:  # do some processing using Matrix T here
            v = (mt @ Vector(v))[:]
            vert_true.append(v)
        else:  # do some processing using Matrix F here
            v = (mf @ Vector(v))[:]
            vert_false.append(v)
        vert_all.append(v)
    return  vert_all, vert_true, vert_false