Patch for a basic linear algebra system.