Flattened the `traits` submodules.
Merged the {vec, mat} and {vec, mat}_impl  modules.