Theoretical and computational investigations of the electron and spin correlation in chemical bonds, building a predictive bonding model with generalized valence bond theory