Added mat*mk functions.

- Corrected typos in vec.