Added nthOne and nthZero functions to BitwiseData