Implemented inner product algorithm.
Implemented Gram Schmidt process algorithm.