Cricket: Record ton helps Windies gain edge over Kiwis