createLikelihood function

Creates a standardized likelihood class#'