Fix perturbation.

Currently the training method runs random perturbations 20 times.