A numerical model of deformation and fluid-flow in an evolving thrust wedge