So I assume you want me to use for-loop on SGVector instead of Eigen's unaryExpr.