add more log likelihood related functions