Eigen debug helper functions