Initial commit of the denoising code.