Gram-Schmidt Process: An Algorithm to Realign Distorted Basis Vectors into Neat, Mutually Orthogonal Vectors