working on WindowSparse_updateGradInput
WindowSparse:updateGradInput works (unit tested) and is fast (benchmarked)