Template more Eigen functions