code: def arc_distance_list(a, b):
      distance_matrix = []
      for theta_1, phi_1 in a:
          temp_matrix = [
              2 * (atan2(sqrt(temp), sqrt(1 - temp)))
              for temp in [
                  sin((theta_2 - theta_1) / 2) ** 2
                  + cos(theta_1)
                  * cos(theta_2)
                  * sin((phi_2 - phi_1) / 2) ** 2
                  for theta_2, phi_2 in b
              ]
          ]
          distance_matrix.append(temp_matrix)
  
      return distance_matrix
  
label_desc: Use image node_id 1 for calling a global function with example usage: arc_distance_list(a, b) and returns: distance_matrix