Getting log likelihood to work.