A Fourier pseudospectral method for a generalized improved Boussinesq equation