Population Estimation Algorithm