Cleaning up redundant code for generating 2x2 table,
added column consistency checking goodness