Adding Function support
Fixed apply call
Merge pull request #8 from kclay/predicate

Adding Function support