Merge branch 'feature/issue-661-reimplement-error-handling' of https://github.com/stan-dev/stan into feature/issue-661-reimplement-error-handling
fixes check_corr_matrix error