Wrote as yet undocumented vector library.