export vector-related functions and correct typos

raco setup -D passed