New formula for CppAD.
Merge pull request #440 from dpo/cppad

New formula for CppAD.