Fix indentation, remove unused variables
Clean up choose-stability-learning-stimuli