Information theory and basis set quality: automatic classification and systematic improvement of approximate molecular wavefunctions: a study on OH radical