Add logistic bic calculation