bugfix: compress should return a masked array if it's given a masked array.