Application of finitized power series distributions to accelerate variate generation. Part I: two useful algorithms. (12th May 2018)