added random perturbation figure code