High-Precision Discrete Convolution Algorithm Based on Moments