HWE Calculations for expected values and ChiSq.

Added functions to the SELECT region to calculate expected values for genotype distributions and calculate a chi squared value.