added term to SigmaDD function.