“…This would, of course, require generating one particle pair for each particle in , a computationally intensive task. Instead, we have found it effective to generate a single particle pair by optimizing an average over all particles of the right-hand sides of (16), i.e., by solving (17) Substituting expressions from (1), (3), (5), and (15) into (17), and using the fact that (18) we obtain (19) where (20) where and . Practically, we initialize the minimization using the mean shape from the training data.…”