build_stan_data function

Builds stan data for sampling depending on the selected model