updating pattern rules for tests
updating stan_csv.R so that it handles 0 iterations properly.