fix calculation of Hardy Weinberg stats.