update timing of resets to fix scoring (from master)
updating preference learning to look up indices and appropriately sample; currently broken