fixed minor bug in AIC and BIC calculation

which would only have arisen in the very rare circumstance that users
had terribly small data blocks. It would have been very unlikely to
make any real difference.