typo in cog() documentation

Changed "effect" to "affect" in the Details.