changing function style to avoid S3 conflict
added flag compression function to save types
unique and compressed flags
typo
unique flag decompression
rmv print line
working on MAD(CV) automation
MAD replaces median...deviation
method for compressing flag array