Added support for additional data types and mask in sieve function
Merge pull request #170 from brendan-ward/issue159

Added support for additional data types and mask in sieve function