Multiple math::vector-related changes

- Added vect::array_ref.
- Added math::vector_data_ref.
- Added the math::tvec template.