The following is an equation (2.4) from the algorithm for the generation of
sobol sequences. The authors of the paper have utilized the bitwise
operations of C++ to calculate this efficiently.
*Now, the question is:* Can we do this at script level (in dml) or we
should do it in the `java` itself as a builtin, function to generate the