After big wins and tough losses, his year ends with the ATP World Tour Finals in London and then the Davis Cup final at home in Croatia.