sargan function

Sargan test for GMM models