fixed cppad transform using Eigen3