Implemented orthogonality test method