Added foundation::arithmetic_mean(array, len).