added Derivative, Newton class and first_order test case