update week 5 code to test various numbers of iters
update to fix three random chains and traces