New heart model to help treat patients with heart failure