Fixed useNaN parameter in the mask formula [1351]
Merge pull request #16 from mhiley/master

Fix useNaN parameter in mask formula [1351]