Made some optimizations to assymetric distribution to avoid recomputations.
Minor optimization in percentile search.
Optimized data sort.
Made few minor optimizations to log_likelihood.
Minor optimizations to data sort.