Add categorical sampling of discrete integers