A modification of the Gaussian‐2 approach using density functional theory