Spiht cpp 4

Mainly: fix the get_descendant(); there is a bug on some_vector.tail() on Eigen::RowVectorXd