Create mean

mean function.