makeLhoods function

makeLhoods: function to make likelihoods.