Update stress.r

Some small changes to optim.pml