Added likelihood calculations

Loop back on why warning msg.