Fixed reduced_form_with_sign.
Refactoring.
Fixed load_cached_gens_from_file.
Added tests for eigenvalues and the action of T(2).