eqn1 function

Constraints: Sum to 1