Electron Correlations In Molecules And Solids