BitMask: change order of constructor arguments, add invert() method