small changes
Old bandit code, from ECML paper