Finish last expression.
Add sum-clause component previously omitted.
Added function for computing initial value of accumulation variable.
Use new function to determine initial value for accumulation variable.