Transition from horizontal to vertical summation: Instead of adding the term row by row, the terms are now added by column. The sum, and thus the expected value, remain the same!