extractAIC.egf function

Extract the (Generalized) AIC