altnegLL function

altnegLL calculate the Normal negative log-likelihood