Fixed bitwise gate ops. Will test NOT soon, and will finish the shifts.