Demo problem 0 for horsetail matching, takes two input vectors of any size
    and returns a single output

def TP0(dv, u):
    '''Demo problem 0 for horsetail matching, takes two input vectors of any size
    and returns a single output'''
    return np.linalg.norm(np.array(dv)) + np.linalg.norm(np.array(u))