Rewrote code for simplicity. May be working now. (samples2_012 = SimpleExample.test_all(dim_lv=2, fix_dim_moves = 0, dim_removed_resamples = 1, dim_added_resamples=2))