Added Gram–Schmidt process 1st iteration func