eg2dfft (old 2D code)