estN function

Estimate Effective Sample Size