Davids

adding bitmasking functions to for twoOp and OneOp functions
additional detail of where I should ultimately store these values TBD