fixed bug, added "randomPerturbation" option to runphase1