Tools for Analyzing Non-Uniform Pseudo-Random Variate Generators