enkf2dx.m repaired, 2d fft of matrix X is done by apllying fft matrix (F) on rows an columns of X, so Y = F*X*trans(F), the last transposition must be non-conjugate transposition!