Implemented the Fstats calculation using Rcpp. Written by Jeff Leek.