def METHOD_NAME(self, list1, list2):
    ll1, ll2 = len(list1[0]), len(list2[0])
    if ll1 > ll2:
        short = list2
        long = list1
    else:
        short = list1
        long = list2
    dists = []
    for obsh in short:
        obshdis = []
        for vers in obsh:
            for obln in long:
                oblndis = []
                for verl in obln:
                    oblndis.append(self.distance(vers, verl))
                obshdis.append(oblndis)
        dists.append(obshdis)
    return dists[0]