Create GamaFunction.m

The G function