Add function for derivative. Temporarily revert name to input field.