consolidated SSIM code and added quality control method to dvdArchiver.py