gammatest function

γ\gamma test of Pybus & Harvey (2000)