reordered model header to include Eigen addons earlier and made typedef in typedefs.hpp more direct