improving linear algebra
cleaning up