test 2D-dim smoothness
attempt for calculating autocorrelation and chi2