Record Taylor ton sees N.Zealand to S.Africa win