converted some parts of binomial_conf_interval to logarithmic scale to avoid underflo...