Implementation of Sobol sequences