akaike Info Criterion
Computes the AIC based on the sample size sampleSize, the number of parameters estimated for the model numParameters, and the maximized value lnMax of the log-likelihood function of the model. Implementation based on Vose