Slight clean-up of add_perturbations.f90.