bugfix for var.2 and comments to indicate where credible intervals are calculated