Calculate Effective Population Size