make the std::vector fix work also with dynamic size Eigen objects, e.g. std::vector<VectorXd> update unit test