Support masked arrays.
Merge pull request #27 from mdboom/masking

Support masked arrays