log_lik function

Generic function for pointwise log-likelihood