ArrayAverage

Returns the average of the given array