Gram-Schmidt Algorithm Implementation of the Gram-Schmidt algorithm which finds an orthonormal basis from a set of vectors.