gammaCos

porting