packaged convolve in its own class