add some initial linear algebra functions