Nseg_chr function

Estimate the number of independent segments in a chromosome based on the effective population size