Added criterion argument to var_main. Allows setting either AIC or BIC as information criterion to use as model score in sorting and constraining the model.