fix function deFunction() by adding negation so that unit tests work as described
Merge pull request #13 from biobonnie/master

fix example function by adding negation