changes negation to bitwise negation on boolean array (mweibe)