Computing Distributions for Exact Logistic Regression