Fixed conditional likelihood and sampling.