does anyone know the code to implement this process? visual basic code would be great. i'm just trying to make my basis orthogonal, and so i thought about this. i already got a piece of code, but i would like to compare with others; i have to say that my program is not working that well. cheers!