Added relative likelihood functionality