convenience function to compute PU-Index
remove obsolet code
added computation of PSNR
tool to generate entropy table and CABAC writer to estimate bits based on this table