fixed Gram Schmidt bug for solving tall matrices