Semi-working version of the derivative operator
Added a pure c++ testing example