sum_simplex function

Sum on a simplex