code: def pad(idnad: Tuple[List[float], List[float]], pad_nadir=0.05, pad_ideal=0.0):
      
      ideal, nadir = idnad
      ideal_arr = np.array(ideal)
      nadir_arr = np.array(nadir)
      idnad_range = nadir_arr - ideal_arr
      nadir_arr += pad_nadir * idnad_range
      ideal_arr -= pad_ideal * idnad_range
      return list(ideal_arr), list(nadir_arr)
docs: Pad an ideal/nadir estimate. This is mainly useful for padding the nadir
      estimated by a payoff table for safety purposes.