added orthonormalization from 'wukat' - did not test on grader