check for orthogonality