Bug correction in sad_reverse

Trivial differentiation of equations in which there are no variables to
differentiate with respect to was not done.
symb diff: problem in sad_reverse corrected
update of derivatives check when parameters switch