Add changes to input table and fix bug calculating shuffle score.