Moving vector tutorial into doxygen design.dox, putting function comments into vector.h and renaming template parameters for readability.