Modelling deformation in the failing heart