Improving scripts for convolution-deconvolution to approximate water flow