Added nomenclature to likelihood doc.
Modularizing implementation.