Implemented vector space.