N=4 scattering amplitudes and the deformed Grassmannian