gram schmidt orthonormalization script