gof function

Goodness of fit test