Solved bug in perturbation.py: savebeadbeadxp was not defined if the option xp was not selected