added routine to deconvolve using uniforms