aicbic function

aicbic returns the AIC and BIC for a given model