added vec.hpp and vec.inl