Code cleanup. ind_calculator now uses exceptions. auto_poly_generator has added axes labelling.