Algorithm Study & Matlab Model for TIFF CCITT Group4