Use randparams rather than GSL, multithread safe