Some basic vector math functions.