changed norms and r_total to try and fix greedy decision bug