updated HWE AF estimator and related changes.