cppAD automatic differentiation with eigen