fixed bug for pseudo 2d arrays using FT convolve(flattening first)