def scale_rvs(rv, scales=[1, 1]):
    """
    Returns function that returns random variables drawn from <rv>

    where <rv> is some distribution that only depends on a scale parameter
    """
    n = len(scales)

    def _rvs():
        return rv(scales)

    return _rvs