Gram Schmidt Orthonormalization Procedure