dist_empirical function

Empirical distribution