Changed instances of "effected" to "affected" where appropriate

Fixes discussed in issue #120.