halton sequence generation (to be used for quasi-random restarts)