[Torch] Fix `Sum:updateGradInput()` in the zero-stride case.
Merge pull request #106 from ajtulloch/sum-fix

[Torch] Fix `Sum:updateGradInput()` in the zero-stride case.