Added functions that are used to estimate various statistics used in population genetics.