evolution and gene frequencies