'Fill z with either uniform or normally distributed random numbers'

def fill_noise(self, z, normal=True):

    if normal:
        self.be.fill_normal(z)
    else:
        z[:] = ((2 * self.be.rand()) - 1.0)
