fix issue 7

wrong names for array parameters
Merge branch 'feature/add_diagnostics_output' of https://github.com/stan-dev/rstan into feature/add_diagnostics_output