First implementation of loglik-based QC score.