fix eigen bugs #2827
Merge pull request #2833 from YaqiWang/eigen_bug_2827

Fix eigen bugs to pass parallel and debug testing #2827