Adding modified Gram-Schmidt function.