test_param_trans modified to run the full EM algorithm.
Problem with BFGS algoritm, using nelder-mead instead at the moment.