Implement convolution operation and use it to smooth features (e.g. STA).