minimal linear algebra library