Improved cdf and inv_cdf of Beta
Simplified the benchmarks