def create_BM_biases(N, distribution, **kwargs):
    """create a random bias vector for a Boltzmann machine, with biases
    drawn from distribution. parameters for the distribution need to
    be passed as kwargs.

    """
    return distribution(size=N, **kwargs)