added mathUtils.average, and added mathUtils.LinearRegression.next and
mathUtils.LinearRegression.correlation