Nick Larkin's ton for NSW