ENH: Finished the optimized convolution algorithm. Added test to compare with the classical convolution.