validate.stan_data function

Validate a stan_data object