code: def get_likelihood(self, uni_matrix):
          
          num_tree = len(self.trees)
          values = np.empty([1, num_tree])
  
          for i in range(num_tree):
              value, new_uni_matrix = self.trees[i].get_likelihood(uni_matrix)
              uni_matrix = new_uni_matrix
              values[0, i] = value
  
          return np.sum(values)
docs: Compute likelihood of the vine.