Sums - simple function evaluation

Evaluates a sum (input from table).