Deriv function

it doesn't make any simplifications'