added nonNegativeDerivative function
Merge pull request #58 from andreparodi/master

added nonNegativeDerivative function