add Array#average