Matlab tools for JPEG compression/decompression