calc.deriv/use.last.params fixes in progress