Added PSNR calculation in diff-mode