implemented truncated convolution so the transform is 1-1
added proper wrapper functions for full convolution