adding statistics, and multivariate modeling functions.