Minimal linear algebra library