Handled single-value .sum's gracefully.

Single-value-sums now act like an identity function instead of outputting invalid CDEFs. Further details are in the test file