Write convolution and testing.