changed procedure name from Deriv to Take_Derivative