fixed phi sampling in fail scripts, changed 'lamb' to 'phi' in scripts, got results except for qi (to be run on EC2)