Fix some typos in section 12.2.

Note: this doesn't address the n vs. (n - 1) problem with the sum off the constant 1.