code: def distance_normsquared(train_fname=traindat, test_fname=testdat):
      feats_train = sg.create_features(sg.read_csv(train_fname))
      feats_test = sg.create_features(sg.read_csv(test_fname))
  
      distance = sg.create_distance(
          "EuclideanDistance", disable_sqrt=True
      )
      distance.init(feats_train, feats_train)
  
      dm_train = distance.get_distance_matrix()
      distance.init(feats_train, feats_test)
      dm_test = distance.get_distance_matrix()
  
      return distance, dm_train, dm_test
  
label_desc: Use image node_id 1 for calling a global function with example usage: distance_normsquared(train_fname, test_fname) and returns: distance,  dm_train,  dm_test