Restore the primitive and vector submodules

I accidentally deleted them in 109a1e53287f50103e8a5b592275940b6e3dbb53