eigen tested and cmake adjusted