Dimentions and phases of X, U, Psi's shoud be equalized.