added perturbation code to poliblog
merged