finds the average of a group of points