BUG Fix axis handling in convolve1d

The axis argument was wrongly handled in convolve1d. In the 2D case, the
axes were switched, in higher dimensions, the mistake was more complex.