outterobj_lkh_1d function

Outter objective function (likelihood and single dimension version)