smoothing2 array