Cleanup, updates in linear algebra package