Inverse scattering in one dimension for a generalized Schrodinger equation