Added likelihood calculations

Loop back on why warning msg.
Merge pull request #1 from CY-Chan/master

Added likelihood calculations