linear algebra (on setup refactor)

some more linear algebra testing