removed old psnr function call.