removed bitwise compliment comparisons (complementation property)
Merge pull request #1 from knspriggs/initial-cleanup

removed bitwise compliment comparisons (complementation property)