Reduce repetition
Reduce repetition

The same three lines of code for searching a table were being used all
over the place. Also, a lot of functions were checking that spin / irrep
ordered pairs indeed have two components. This is not needed if all the
lower level functions they call do this anyway.

Signed-off-by: Connor Behan <89f96a099c47edae2e9c5a371cbf43991ac7aa8c@gmail.com>

cbehan/pycftboot