added qpsnr SSIM indexing code, finalised implementation, etc.