nLogLike function

Negative log-likelihood function