Do not add a swap if the resulting hash would be the same
Pull resultScores out of the if blocks
Convert runGroups to runMatrix and pull it out of the if blocks
Defense keys are still needed
Refactor defense key creation
Refactor output scoring