Added orthogonality test