Added some basic vector, matrix functions; functions now have proper ubiquitous names.