Corrected extract.m; Added Compress.m code