reduce unused dependencies
extend array to have mean, deviation and variance