use optimx for hmm; setting of # of iterations/evaluations for nlminb
changed;