fixed bug in analytic-parameter-inference.R; works.