Simple generic vector algebra library.