process gamma to gammafn
Merge branch 'fixGamma' into devel