work better with unitary matrices

exploit the properties of some unitary matrices.