After a wobbly start, Martin Guptill and Glenn Phillips added 105 for the fourth wicket to rescue New Zealand