add_linear_outcome function

Create a linear outcome by summing effects