Localized correlation treatment using natural bond orbitals