Added Eigen dependency. Redefined state in terms of it.