fix bug in convolution

Interestingly, given the direction the window is sliding over X, we
don't need to iterate backwards over 'h' after all.