find the average of an array