Use un-wrapped Eigen VectorXd for crit vector.