Multiple math-related changes

- Added the vect::from utility.
- Minor updates and fixes in math::vector.
- Added tests for math::vector and vect::from.