remove eigen dependency