MAINT: linalg.orth memory efficiency

fixes an orth() memory efficiency problem uncovered in networkx https://github.com/networkx/networkx/pull/1134