Convert C-style loops to smaller/faster pythonic alternatives
Replace enumerate/index with direct references on mutable objects
Remove every relationship instead of every second one
Merge pull request #295 from dsnellgrove/patch-3

Pythonic loop changes