Enhanced implementation
Added Derivative algorithm in Lua
Merge pull request #247 from Yonaba/master

Derivative algorithms