estimate.ESS function

Estimation of effective sample size