gamma function

Get gamma from a model.