More work on linalg.h including gaussian elimination